project(growth-rate-calculator)
cmake_minimum_required(VERSION 2.8.8)

set(GRATE_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
set(GRATE_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${GRATE_BINARY_DIR}/bin)
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${GRATE_BINARY_DIR}/lib)

set(GTEST_INCLUDE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/third_party/googletest/include)
add_subdirectory(third_party)

# Growth-rate libraries.
include_directories(include)
add_subdirectory(lib)

# Projects
add_subdirectory(projects)

# Unit tests.
add_subdirectory(test)
